<template>
  <div>
    <infoInfo></infoInfo>
    <el-container>
      <el-header style="margin-left: 100px;margin-right: 100px;margin-top: 20px">
        <el-menu mode="horizontal" background-color="#ffffeb">
          <el-menu-item index="1" style="font-size: 18px;margin-left: 150px">
            消息
          </el-menu-item>
        </el-menu>
      </el-header>
      <el-header style="margin-top: 20px;margin-left: 150px;margin-right: 150px">
        <el-menu mode="horizontal"
                 @select="handleSelect"
                 background-color="#fff1a0"
                 text-color="black"
                 active-text-color="#9c9d4f">
          <el-menu-item index="1" style="margin-left: 50px">
            <router-link to="/student/studentmessage/studentmessageall" tag="span">全部</router-link>
          </el-menu-item>
          <el-menu-item index="2">
            <router-link to="/student/studentmessage/studentmessagesystem" tag="span">系统</router-link>
          </el-menu-item>
          <el-menu-item index="3">
            <router-link to="/student/studentmessage/studentmessageannouncement" tag="span">公告</router-link>
          </el-menu-item>
          <el-menu-item index="4">
            <router-link to="/student/studentmessage/studentmessageletter" tag="span">私信</router-link>
          </el-menu-item>
        </el-menu>
      </el-header>
      <el-main><router-view></router-view></el-main>
    </el-container>
  </div>
</template>

<script>
import infoInfo from "./studentinforightinfo";

export default {
  name: "studentmessage",
  components:{
    'infoInfo':infoInfo
  },
}
</script>

<style scoped>
@import "../../assets/css/student.css";
</style>
